package org.wevil.repo;

import org.wevil.entity.view.ViewUser;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface ViewUserRepo extends BaseRepo<ViewUser, Integer>{

    @Query("select menuId from ViewUser where userId = ?1")
    List<Integer> findMenuIdByUserId(Integer userId);
}
